package com.zx.mes.hyl.spring;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * redis properties
 *
 * @author 华云龙
 * @date 2018-12-27
 */
@Data
@Component
@ConfigurationProperties(prefix = "hyl.redis")
public class RedisProperties {

    private String username;

    private String password;

    private String url;

    private Integer port=6379;

    private Integer database =0;
}
